package com.learn.annotation.daos;

import org.springframework.stereotype.Repository;

@Repository("helloWordDao")
public class HelloWordDaoImpl implements IHelloWordDao {
    @Override
    public void save(String name) {
        System.out.println("dao save："+name);
    }

    @Override
    public String query(String id) {
        System.out.println("dao query by id："+id);
        return "query success";
    }
}
